package com.vanke.devops.dal.model;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;

import com.vanke.devops.dal.base.BaseModel;
import java.math.BigDecimal;
import java.util.Date;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author 陈景阳
 * @since 2018-06-08
 */
public class ScheduleJob extends BaseModel {

	/**
	 * spring bean名称
	 */
	@TableField(value="bean_name")
	private String beanName;
	/**
	 * 方法名
	 */
	@TableField(value="method_name")
	private String methodName;
	/**
	 * 参数
	 */
	private String params;
	/**
	 * cron表达式
	 */
	@TableField(value="cron_expression")
	private String cronExpression;
	/**
	 * 任务状态：0成功；1失败
	 */
	private Integer status;


	public String getBeanName() {
		return beanName;
	}

	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	protected Serializable pkVal() {
		return getId();
	}

}
